package com.mach.platform.repository;

import com.mach.platform.domain.base.Account;
import org.springframework.stereotype.Repository;


/**
  * @Name
  * @Description:
  * @author Anonymous
  * @date  2018/04/03   11:36
  */
@Repository
public interface UserRepository extends BaseRepository<Account> {

	/**
	 * 根据用户名查询账户
	 * @param userName
	 * @return
	 */
	Account findByUsername(String userName);


}
